package mason.dp.abstractfactory.store;

import mason.dp.abstractfactory.computer.Computer;
import mason.dp.abstractfactory.computer.WinBook;
import mason.dp.abstractfactory.computer.WinComputer;
import mason.dp.abstractfactory.factory.ComputerComponentFactory;
import mason.dp.abstractfactory.factory.ComputerFactory;
import mason.dp.abstractfactory.factory.WinComponentFactory;
import mason.dp.abstractfactory.factory.WinComputerFactory;

/**
 * Win平台商店
 * 
 * @author MasonAir
 *
 */
public class WinStore extends ITStore {
	private ComputerFactory cf;

	public WinStore() {
		cf = new WinComputerFactory();
	}

	@Override
	Computer createComputer(String type) {
		return cf.createComputer(type);
	}

}
